package com.leyou.wareHouse.service.impl;

import com.leyou.wareHouse.entity.MallGoods;
import com.leyou.wareHouse.entity.Store;
import com.leyou.wareHouse.entity.WareHouse;
import com.leyou.wareHouse.mapper.WareHouseMapper;
import com.leyou.wareHouse.service.IWareHouseService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cyb
 * @since 2022-07-21
 */
@Service
public class WareHouseServiceImpl extends ServiceImpl<WareHouseMapper, WareHouse> implements IWareHouseService {

    @Autowired
    private WareHouseMapper wareHouseMapper;

    @Override
    public List<Store> storeList() {
        return wareHouseMapper.storeList();
    }

    @Override
    public List<MallGoods> goodsList() {
        return wareHouseMapper.goodsList();
    }
}
